package com.easy.service;

import com.easy.bean.Collect;
import com.easy.bean.Useraddress;
import com.easy.util.Page;

import java.util.List;

public interface IUserAddressService {


    int add(Useraddress useraddress);

    int edit(Useraddress useraddress);

    int delete(int useraddressid);

    List<Useraddress> getList(Page page, String text,int userid);

    Useraddress getUseraddressById(int useraddressid);

    int getCount(String text);

    Useraddress getUseraddress(Useraddress useraddress);

    int cancelDefault( int useraddressid);
    int setDefault(int userid, int useraddressid);
}
